<include file="./head" />
<body>
<div class="page theme-diy" id="page-index">
  <div class="bar bar-nav yz_head">
    <div class="yz_head_top">
      <div class="yz_bor"> <a class="pull-right icon icon-me"  href="{:U('/user/index/wallet')}" style="  "></a> 
      <a class="logo pull-left" href="<?php echo U('/user/'); ?>" style="line-height:2.4rem;">{:C('SITE_NAME')} <i style="font-style:normal; margin-left:5px; font-size:10px;">分享产生价值</i></a> 
 
      </div>
    </div>
    <div class="yz_head_user yz_bor row">
      <div class="left col-40"> 
        <span class="touxiang" style="background-image:url('{$user_info['avatar']}')"></span>
        <div class="clear"></div>
        <span class="my-name left" style="text-align:center">{$user_info['nickname']}</span> </div>
      <div class="right col-60">
        <p class="zijin" style="text-align:right"> 账户余额: <span class="fa fa-cny"></span> <span>{:get_erwei($user_info['balance'])}</span> </p>
        <p class="mingxi "> <!--a class="fa fa-money" style="margin-right:2px; font-size:20px;"></a--> <a href="{:U('/user/index/wallet')}">我的钱包</a> </p>
      </div>
    </div>
  </div>
  <div class="content native-scroll" style="overflow-y:scroll;overflow-x:hidden;">
    <div style="height: 5.8rem;"></div>
    <!--a href="/help.html"><img src="__PUBLIC__/user/new/images/slide.jpg" style="height:4rem; width:100%"></a-->
    <div style=""></div>
    <div class="nav-index">
      <ul>
        <li> <a href="{:U("/Article/weixin/")}">
          <div class="yz_ico"> <span class="fa fa-share-alt  icon1"></span> </div>
          <span>转发赚钱</span> </a> </li>
         <?php if(C("FX")){?> 
        <li> <a href="<?php echo U('/User/Shop/index'); ?>">
          <div class="yz_ico"> <span class="fa fa-shopping-cart xz icon1"></span> </div>
          <span>分销赚钱</span> </a> </li>
         <?php }else{ ?>
          <li> <a href="<?php echo U('/user/index/wallet'); ?>">
          <div class="yz_ico"> <span class="fa fa-cny xz icon2"></span> </div>
          <span>我的钱包</span> </a> </li>

         <?php }?>
        <li> <a href="{:U("/User/help/")}">
          <div class="yz_ico"> <span class="fa fa-h-square icon2"></span> </div>
          <span>新手帮助</span> </a> </li>
        <li> <a href="{:U("/User/Invited/".session('user.id'))}" external>
          <div class="yz_ico"> <span class="fa fa-slideshare icon2"></span> </div>
          <span>我要收徒</span> </a> </li>
      </ul>
      <ul>
        <li> <a href="{:U('/User/Share/tudi')}" external>
          <div class="yz_ico"> <span class="fa fa-user-plus icon2"></span> </div>
          <span>我的徒弟</span> </a> </li>
        <li> <a href="{:U('/User/Withdraw/Apply')}">
          <div class="yz_ico"> <span class="fa fa-credit-card icon2"></span> </div>
          <span>我要提现</span> </a> </li>
        <li> <a href="{:U('/User/Withdraw')}">
          <div class="yz_ico"> <span class="fa fa-pie-chart icon2"></span> </div>
          <span>提现记录</span> </a> </li>
        <li> <a href="{:U('/User/index/about')}">
          <div class="yz_ico"> <span class="fa fa-weixin icon2"></span> </div>
          <span>关注我们</span> </a> </li>
      </ul>
      <ul>
        <li> <a href="{:U('/User/Share')}">
          <div class="yz_ico"> <span class="fa fa-share-alt-square icon2"></span> </div>
          <span>分享收益</span> </a> </li>
               <li> <a href="{:U('/User/Share/fans')}">
          <div class="yz_ico"> <span class="fa fa-bar-chart icon2"></span> </div>
          <span>粉丝收益</span> </a> </li>
       <?php if(C("FX")){?>  
      <li> <a href="<?php echo U('/User/Share/shop'); ?>">
          <div class="yz_ico"> <span class="fa fa-line-chart icon1"></span> </div>
          <span>分销收益</span> </a> </li>
      <?php }else{?>
        <li> <a href="<?php echo U('/User/index'); ?>">
          <div class="yz_ico"> <span class="fa fa-bar-chart icon2"></span> </div>
          <span>联系我们</span> </a> </li>
 
      <?php }?>
     
        <li> <a href="{:U('/User/logout')}" external>
          <div class="yz_ico"> <span class="fa fa-power-off icon2"></span> </div>
          <span>退出登录</span> </a> </li>
      </ul>
    </div>
    <div style="height:3rem;"></div>
  </div>
  <nav class="bar bar-tab yz_bar"> 
  <a class="tab-item active external" href="<?php echo U('/user/'); ?>"> <span class="icon icon-home"></span> <span class="tab-label">主页</span> </a> 
  <a class="tab-item external" href="<?php echo U("/User/Invited/".session('user.id')); ?>"> <span class="icon icon-me"></span> <span class="tab-label">我要收徒</span> <!--span class="badge">2</span--> </a> 
  <a class="tab-item" href="<?php echo('/User/index/user_top');?>"> <span class="icon icon-star"></span> <span class="tab-label">排行榜</span> </a> 
  
  </nav>
</div>
<include file="./foot" />